using System.Collections.Generic;

namespace Illinois.Core.Interfaces
{
  public interface IBurnDownRepository // todo: inherit from IRepository<T>
  {
    int Save(IBurnDown burnDown); // both add and update (is this ok?)

    int Delete(int burnDownId);

    IBurnDown GetById(int burnDownId);

    IList<IBurnDown> GetAll(int projectId); // todo: I don't like this method (because of the projectId)

    int SaveStoryPoints(int burnDownId, IStoryPoints storyPoints);

    int UpdateMetaData(int burnDownId, string title, int points);
  }
}
